From 6b9f18ef9e054da1b925ba57652ebce352ba7c9a Mon Sep 17 00:00:00 2001 From: robertlipe Date: Thu, 29 Mar 2012 21:11:50 +0000 Subject: [PATCH] Finish TPO3 style reader integration. Thanx, Steve! --- gpsbabel/reference/LineStyles.gpx | 2 +- gpsbabel/reference/LineStyles.kml | 1 - gpsbabel/reference/tpo-sample3.gpx | 3 +++ gpsbabel/testo.d/tpo.test | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gpsbabel/reference/LineStyles.gpx b/gpsbabel/reference/LineStyles.gpx index 6b7d89523..8168e13b4 100644 --- a/gpsbabel/reference/LineStyles.gpx +++ b/gpsbabel/reference/LineStyles.gpx @@ -5,7 +5,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> - + 2.000000 diff --git a/gpsbabel/reference/LineStyles.kml b/gpsbabel/reference/LineStyles.kml index 3707bf694..6753a4c08 100644 --- a/gpsbabel/reference/LineStyles.kml +++ b/gpsbabel/reference/LineStyles.kml @@ -3,7 +3,6 @@ xmlns:gx="http://www.google.com/kml/ext/2.2"> GPS device - Created Thu Mar 29 11:39:43 2012 -122.275670 37.523278 diff --git a/gpsbabel/reference/tpo-sample3.gpx b/gpsbabel/reference/tpo-sample3.gpx index c579dfa04..0892eab60 100644 --- a/gpsbabel/reference/tpo-sample3.gpx +++ b/gpsbabel/reference/tpo-sample3.gpx @@ -183,6 +183,7 @@ crazy route 4.49 miles long + Style=GrnMedium, Width=3, Dashed=0, Color=#008000 1 @@ -315,6 +316,7 @@ TRK 2 + Style=GrnMedium, Width=3, Dashed=0, Color=#008000 2 @@ -405,6 +407,7 @@ TRK 3 + Style=GrnMedium, Width=3, Dashed=0, Color=#008000 3 diff --git a/gpsbabel/testo.d/tpo.test b/gpsbabel/testo.d/tpo.test index cb4ac9ba6..07491881e 100644 --- a/gpsbabel/testo.d/tpo.test +++ b/gpsbabel/testo.d/tpo.test @@ -20,6 +20,6 @@ gpsbabel -t -r -w -i tpo3 -f ${REFERENCE}/tpo-sample3.tpo -o gpx -F ${TMPDIR}/tp grep -v time <${TMPDIR}/tpo-sample3.gpx >${TMPDIR}/tpo-sample3.gpx2 compare ${TMPDIR}/tpo-sample3.gpx2 ${REFERENCE}/tpo-sample3.gpx # Verify that tpo3 line styles convert sensibly. -gpsbabel -i tpo3 -f ${REFERENCE}/LineStyles.tpo -o gpx -F ${TMPDIR}/LineStyles.gpx -o kml -F ${TMPDIR}/LineStyles.kml +gpsbabel -t -w -r -i tpo3 -f ${REFERENCE}/LineStyles.tpo -o gpx -F ${TMPDIR}/LineStyles.gpx -o kml -F ${TMPDIR}/LineStyles.kml compare ${TMPDIR}/LineStyles.gpx ${REFERENCE}/LineStyles.gpx compare ${TMPDIR}/LineStyles.kml ${REFERENCE}/LineStyles.kml -- 2.30.2